home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
bbs
/
ab2v112.zip
/
3RDPARTY.DOC
< prev
next >
Wrap
Text File
|
1997-05-15
|
7KB
|
170 lines
ARROWBRIDGE II USER FILE FORMAT
===============================
(C)opyright 1996-97 Gargoyle Productions
22nd March, 1997
This file contains the user file format for those who are interested in
developing 3rd party applications for Arrowbridge II. If you develop
something, please send it to me at marks@acay.com.au and I will post it on
the official Arrowbridge web page at http://www.acay.com.au/~marks
User Structure
--------------
Structure size = 1000 bytes (the structure listed below contains less
than 1000 bytes, but the user records are spaced at 1000 byte intervals)
TYPE User
owner AS STRING * 30 Owner's real name
Gold AS LONG Gold carried
BankGold AS LONG Gold in bank
guards AS LONG Guards carried
commanders AS LONG Commanders carried
bowmen AS LONG Bowmen carried
cata AS LONG Catapalts carried
RoyalGuard AS LONG not used
xloc AS INTEGER X location
yloc AS INTEGER Y Location
frigx AS INTEGER Ship X location (0=no ship)
frigy AS INTEGER Ship Y location
dngx AS INTEGER Dungeon X location
dngy AS INTEGER Dungeon Y location
dnglev AS INTEGER Dungeon level
timerem AS INTEGER Time remaining in minutes
turnsrem AS INTEGER Turns remaining
date AS STRING * 10 Date last played (MM-DD-YYYY)
status AS INTEGER 0=Wilderness
1=Dungeon
2=On ship
courage AS LONG Courage
align AS INTEGER Alignment
special AS INTEGER 1=sextant,2=BankSpecial,4=?,8=Auto Gold Collect ON,16=Mule
secure AS INTEGER Last player number to attack in Inn
rune AS INTEGER Runes gathered (1=rune1,2=rune2,4=rune3,8=rune4,etc.)
missiongiven AS INTEGER Mission has been given (1=mission1,2=mission2,4=mission3,8=mission4,etc.)
misscomplete AS INTEGER Mission has been completed (1=mission1,2=mission2,4=mission3,8=mission4,etc.)
totalturns AS LONG Total turns played
missioncount AS INTEGER Counter for "search" missions
joustrep AS INTEGER Character number (1-4) for Joust representative
rangerheal AS INTEGER Character number (1-4) for current ranger heal
firstfight AS INTEGER Character number (1-4) for first fighter
joustwins AS INTEGER Number of joustwins
joustlosses AS INTEGER Number of joustlosses
jousts AS INTEGER Number of jousts for the day
boattype AS INTEGER 0=Frigate,1=Ketch
bounty as LONG Amount of bounty on this character's head
xtreas as INTEGER The x coordinate of the buried treasure
ytreas as INTEGER The y coordinate of the buried treasure
runedoor as INTEGER A counter for the number of rune doors passed in ZB's fortress
zbkey as INTEGER A counter for the number of special keys collected in ZB's fortress
joustgold AS LONG Total joust prize pool
orcskilled AS LONG Number of orcs killed for the day
lasttax AS INTEGER The last tax collector to be encountered
spare7 AS INTEGER not used
spare8 AS LONG not used
spare9 AS LONG not used
spare10 AS LONG not used
spare11 AS LONG not used
spare12 AS LONG not used
spare13 AS LONG not used
spare14 AS LONG not used
spare15 AS LONG not used
spare16 AS LONG not used
spare17 AS LONG not used
spare18 AS LONG not used
spare19 AS LONG not used
spare20 AS LONG not used
name1 AS STRING * 17 First char name
lv1 AS INTEGER 1st char level (1-16)
type1 AS INTEGER 1st char type (1=Kn,2=Th,3=Ra,4=Wi,5=Cl,6=Ar)
hp1 AS INTEGER 1st char hp (>0 alive, <=0 dead)
status1 AS INTEGER 1st char status (0=ok,1=poison,2=sleep,4=paralysed,8=diseased)
weapon1 AS INTEGER 1st char weapon (as per the item number)
armour1 AS INTEGER 1st char armor
shield1 AS INTEGER 1st char shield
proj1 AS INTEGER 1st char projectile
sex1 AS INTEGER 1st char sex (0=male,1=female)
xp1 AS LONG 1st char experience
mp1 AS INTEGER 1st char magic points
chspare10 AS LONG not used
chspare11 AS LONG not used
name2 AS STRING * 17 (as for 1st char)
lv2 AS INTEGER
type2 AS INTEGER
hp2 AS INTEGER
status2 AS INTEGER
weapon2 AS INTEGER
armour2 AS INTEGER
shield2 AS INTEGER
proj2 AS INTEGER
sex2 AS INTEGER
xp2 AS LONG
mp2 AS INTEGER
chspare20 AS LONG
chspare21 AS LONG
name3 AS STRING * 17 (as for 1st char)
lv3 AS INTEGER
type3 AS INTEGER
hp3 AS INTEGER
status3 AS INTEGER
weapon3 AS INTEGER
armour3 AS INTEGER
shield3 AS INTEGER
proj3 AS INTEGER
sex3 AS INTEGER
xp3 AS LONG
mp3 AS INTEGER
chspare30 AS LONG
chspare31 AS LONG
name4 AS STRING * 17 (as for 1st char)
lv4 AS INTEGER
type4 AS INTEGER
hp4 AS INTEGER
status4 AS INTEGER
weapon4 AS INTEGER
armour4 AS INTEGER
shield4 AS INTEGER
proj4 AS INTEGER
sex4 AS INTEGER
xp4 AS LONG
mp4 AS INTEGER
chspare40 AS LONG
chspare41 AS LONG
knightl AS INTEGER NPC Knight Lv )All these are recorded when a player is dropped from the party
knightexp AS LONG NPC Knight Exp )so that the XP and LV and be retained for when they are later
thiefl AS INTEGER NPC Thief Lv )recruited.
thiefexp AS LONG NPC Thief Exp
wizardl AS INTEGER NPC Wizard Lv
wizardexp AS LONG NPC Wizard Exp
rangerl AS INTEGER NPC Ranger Lv
rangerexp AS LONG NPC Ranger Exp
clericl AS INTEGER NPC CLeric Lv
clericexp AS LONG NPC Cleric Exp
archerl AS INTEGER NPC Archer Lv
archerexp AS LONG NPC Archer Exp
possess AS STRING * 500 Party possessions: A collection of 250 integers - each relating to an item in items.abr file
Special item locations 100 = gems, 101 = potions, 102 = torches, 103 = keys
END TYPE
The Number of Players
---------------------
The number of players can be found by taking the first line of the
gamedata.abr file. This will show the total number of players in the game.
Deleting a Player
-----------------
To delete a player, set the first character in the name1 string to "#" and the
xloc variable to 0.